OK, so I have knidly given away my component.

I have a favor to ask.

I am working on another project involving shortcuts (using Delphi 4 Pro) and need to extract the full location of associated icons.

I can extract this information from the registry for standard files, ie EXE, TXT, INI etc. But how do I get the icon location if the user types R:\ this could be any number of drive types.

I know how to import the system icon list into delphi, but I actually need the location and index of the original file. I.e. Shell32.dll,3.

SHGetFileInfo SHGFI_ICONLOCATION will retrieve the SHELL32.DLL part for folders, drives etc but not the index 3.

I can't get IExtractIconLocation to work at all.

If you have any ideas please help.

jon.baker@virgin.net